<script type="text/javascript"> dojo.require("dijit.form.NumberTextBox"); </script>
<input class='field float' type='text' dojoType="dijit.form.NumberTextBox" id='{{field.id}}' name='{{field.name}}' value='{{field.value|escape}}'>